package com.coolt.client.ui;

import com.coolt.client.ui.AppConstants;
import com.coolt.client.ui.Link;
import com.coolt.client.ui.Logo;
import com.coolt.client.ui.Pesquisa;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.gwtext.client.widgets.form.ComboBox;
import com.gwtext.client.widgets.form.TextField;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;

public class MenuTopo extends Composite  {
	
		private static final AppConstants CONSTANTS = (AppConstants) GWT.create(AppConstants.class);

		public MenuTopo() {
			final VerticalPanel verticalPanel = new VerticalPanel();
			initWidget(verticalPanel);
			verticalPanel.setSize("772", "42");
			verticalPanel.setStyleName("fundo_topo");
			
			verticalPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
			
			
			
			final HorizontalPanel horizontalPanel = new HorizontalPanel();
			verticalPanel.add(horizontalPanel);
			horizontalPanel.setSize("772", "42");
			horizontalPanel.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_LEFT);

			final Logo logo = new Logo();
			horizontalPanel.add(logo);

			

			final Link link = new Link();
			horizontalPanel.add(link);

			final Pesquisa pesquisa = new Pesquisa();
			horizontalPanel.add(pesquisa);

			final FlexTable flexTable = new FlexTable();
			horizontalPanel.add(flexTable);
			flexTable.setHeight("30");

			final Hyperlink sairHyperlink = new Hyperlink(CONSTANTS.sairHyperlink_text_1(), "some history token");
			flexTable.setWidget(0, 0, sairHyperlink);
			sairHyperlink.setStyleName("linksair");
		
		
		
			
	}
	
}
